/*
 *************************************************************************
 *西瑞克斯研发管理系统
 *版 本: 1.0   
 *日 期：02/09/2012    
 *作 者： 王浩 QQ：873987060   
 *************************************************************************   
 */
package com.application.yfprojectapproval.entity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.manager.IBaseBean;
import java.util.Date;

/**
 * 
 * Description:YfProjectApproval实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 02/09/2012
 * 
 */
@Entity
@Table(name = "yf_project_approval")
public class YfProjectApproval implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfProjectApproval() {

	}

	@Id
	@Column(name = "id")
	private String id; // $field.label

	@Column(name = "project_no")
	private String projectNo; // $field.label

	@Column(name = "own_year")
	private Long ownYear; // $field.label

	@Column(name = "project_manager")
	private String projectManager; // $field.label

	@Column(name = "plan_fee")
	private Float planFee; // $field.label

	@Column(name = "project_ground")
	private String projectGround; // $field.label

	@Column(name = "plan_content")
	private String planContent; // $field.label

	@Column(name = "project_goals")
	private String projectGoals; // $field.label

	@Column(name = "device")
	private String device; // $field.label

	@Column(name = "materies")
	private String materies; // $field.label

	@Column(name = "remark")
	private String remark; // $field.label

	@Column(name = "expense")
	private String expense; // $field.label

	@Column(name = "operateid",updatable=false)
	private String operateid; // $field.label

	@Column(name = "create_date")
	private Date createDate; // $field.label
	
	@Column(name = "AUDIT_STATUS")
	private Long auditStatus;
	
	@Column(name = "PROCESS_ID")
	private String processId;

	@Transient
	private String projectName;
	@Transient
	private String projectOrg;
	@Transient
	private String projectOrgName;
	@Transient
	private Long projectType;
	@Transient
	private String workItemId;
	@Transient
	private String rname;


	public String getWorkItemId() {
		return workItemId;
	}

	public void setWorkItemId(String workItemId) {
		this.workItemId = workItemId;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Id.
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProjectNo.
	 */
	public String getProjectNo() {
		return this.projectNo;
	}

	/**
	 * @param projectNo
	 *            Set the projectNo.
	 */
	public void setProjectNo(String projectNo) {
		this.projectNo = projectNo;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the OwnYear.
	 */
	public Long getOwnYear() {
		return this.ownYear;
	}

	/**
	 * @param ownYear
	 *            Set the ownYear.
	 */
	public void setOwnYear(Long ownYear) {
		this.ownYear = ownYear;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProjectManager.
	 */
	public String getProjectManager() {
		return this.projectManager;
	}

	/**
	 * @param projectManager
	 *            Set the projectManager.
	 */
	public void setProjectManager(String projectManager) {
		this.projectManager = projectManager;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the PlanFee.
	 */
	public Float getPlanFee() {
		return this.planFee;
	}

	/**
	 * @param planFee
	 *            Set the planFee.
	 */
	public void setPlanFee(Float planFee) {
		this.planFee = planFee;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProjectGround.
	 */
	public String getProjectGround() {
		return this.projectGround;
	}

	/**
	 * @param projectGround
	 *            Set the projectGround.
	 */
	public void setProjectGround(String projectGround) {
		this.projectGround = projectGround;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the PlanContent.
	 */
	public String getPlanContent() {
		return this.planContent;
	}

	/**
	 * @param planContent
	 *            Set the planContent.
	 */
	public void setPlanContent(String planContent) {
		this.planContent = planContent;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProjectGoals.
	 */
	public String getProjectGoals() {
		return this.projectGoals;
	}

	/**
	 * @param projectGoals
	 *            Set the projectGoals.
	 */
	public void setProjectGoals(String projectGoals) {
		this.projectGoals = projectGoals;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Device.
	 */
	public String getDevice() {
		return this.device;
	}

	/**
	 * @param device
	 *            Set the device.
	 */
	public void setDevice(String device) {
		this.device = device;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Materies.
	 */
	public String getMateries() {
		return this.materies;
	}

	/**
	 * @param materies
	 *            Set the materies.
	 */
	public void setMateries(String materies) {
		this.materies = materies;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Remark.
	 */
	public String getRemark() {
		return this.remark;
	}

	/**
	 * @param remark
	 *            Set the remark.
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Expense.
	 */
	public String getExpense() {
		return this.expense;
	}

	/**
	 * @param expense
	 *            Set the expense.
	 */
	public void setExpense(String expense) {
		this.expense = expense;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Operateid.
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectOrg() {
		return projectOrg;
	}

	public void setProjectOrg(String projectOrg) {
		this.projectOrg = projectOrg;
	}

	public Long getProjectType() {
		return projectType;
	}

	public void setProjectType(Long projectType) {
		this.projectType = projectType;
	}

	public Long getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Long auditStatus) {
		this.auditStatus = auditStatus;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public String getProjectOrgName() {
		return projectOrgName;
	}

	public void setProjectOrgName(String projectOrgName) {
		this.projectOrgName = projectOrgName;
	}
}
